package com.min.uitest.ui.customcp

import androidx.compose.foundation.background
import androidx.compose.foundation.clickable
import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.fillMaxSize
import androidx.compose.foundation.shape.GenericShape
import androidx.compose.foundation.shape.RoundedCornerShape
import androidx.compose.material.Button
import androidx.compose.material.Scaffold
import androidx.compose.material.Text
import androidx.compose.runtime.Composable
import androidx.compose.ui.Alignment
import androidx.compose.ui.Modifier
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.tooling.preview.Preview
import androidx.navigation.NavController
import com.min.uitest.NavControllerCompose
import com.min.uitest.ui.theme.UseUiTestTheme
import kotlinx.coroutines.launch


@Composable
fun StaticUICompose(navController: NavController) {
    Column(
        modifier = Modifier
            .fillMaxSize()
            .background(
                color = Color.White
            ),
        verticalArrangement = Arrangement.Center,
        horizontalAlignment = Alignment.CenterHorizontally
    ) {
        Text(text = "shsjah", Modifier.clickable {

        })
        Button(modifier = Modifier.background(Color.Yellow), onClick = {
            navController.navigate(NavControllerCompose.DYNAMIC_UI_LIST)
        }) {
            "点我sadasd"
        }
    }



}

